home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / pthread_self.z / pthread_self
Encoding:
Text File  |  1998-10-20  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. pppptttthhhhrrrreeeeaaaadddd____sssseeeellllffff((((3333PPPP))))                                              pppptttthhhhrrrreeeeaaaadddd____sssseeeellllffff((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      pthread_self - identify a thread
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<pppptttthhhhrrrreeeeaaaadddd....hhhh>>>>
  13.  
  14.      pppptttthhhhrrrreeeeaaaadddd____tttt pppptttthhhhrrrreeeeaaaadddd____sssseeeellllffff((((vvvvooooiiiidddd))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      The _p_t_h_r_e_a_d__s_e_l_f() function identifies the calling thread.  This is the
  18.      same identifier that the creating thread obtains from _p_t_h_r_e_a_d__c_r_e_a_t_e().
  19.  
  20. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  21.      _p_t_h_r_e_a_d__s_e_l_f() returns a value that can be used to identify it.
  22.  
  23. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  24.      pthread_create(3P).
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.